<template>
    <el-result icon="success" title="提交成功!" subTitle="请等待审核" class="result_box">
        <template slot="extra">
            <el-button type="primary" size="medium" @click="() => $emit('back', true)"><i class="el-icon-back"></i>
                上一步</el-button>
            <el-button type="primary" size="medium" @click="() => $router.push('/user')"><i class="el-icon-house"></i>
                返回首页</el-button>
        </template>
    </el-result>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.result_box {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 30%);
}
</style>